package net.servir.censo.model;

import java.io.Serializable;

public class CapValidacion implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5969079481461015833L;
	private int cap1; 
	private int cap2;
	
	private String cod_session;

	public String getCod_session() {
		return cod_session;
	}

	public void setCod_session(String codSession) {
		cod_session = codSession;
	}
		
	public void setCaps() {
		cap1 = new Double(Math.random() * 10).intValue();
		cap2 = new Double(Math.random() * 10).intValue();
	}

	public int getCap1() {
		return cap1;
	}

	public void setCap1(int cap1) {
		this.cap1 = cap1;
	}

	public int getCap2() {
		return cap2;
	}

	public void setCap2(int cap2) {
		this.cap2 = cap2;
	}

}
